from google.appengine.ext.webapp import template
from google.appengine.ext.db import djangoforms

import datamodel

class AddCourse(djangoforms.ModelForm):
    class Meta:
        model = datamodel.Course
        exclude = ['dept']
        
class Post(djangoforms.ModelForm):
    class Meta:
        model = datamodel.BoardPost
        fields = ['text']